package com.tjw.dao;

import com.github.pagehelper.Page;
import com.tjw.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * @author tjw
 * @Date 2020/10/9
 */
public interface SetMealDao {

    public Page<Setmeal> pageQuery(String queryString);

    public void add(Setmeal setmeal);

    public void edit(Setmeal setmeal);

    public void setSetMealAndCheckGroup(Map<String,Integer> map);

    public List<Setmeal> findAll();

    public Setmeal findById(Integer id);

    public Integer[] findCheckGroupById(Integer id);

    public void deleteSetMealAndCheckGroupById(Integer id);

    public void delete(Integer id);

    public Setmeal getById(Integer id);

    public List<Map> getSetmealReport();
}
